using Audio;

namespace Xiaowei.Services
{
    public class RecorderService
    {
        static RecorderService instance = null;

        public static RecorderService Instance { get { return instance = instance ?? new RecorderService(); } }

        public IRecorder Recorder { get; private set; }

        private RecorderService()
        {
            Recorder = Audio.AudioFactory.CreateRecorder();
            //Recorder.Started += Recorder_Started;
        }

        //private void Recorder_Started()
        //{
        //}
    }
}
